<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>旅行拾光</title>
    
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="description" content="Your site description" />

 
    <link rel="icon" href="img/favicon.png" type="img/x-icon" />

    
    <link href="https://fonts.googleapis.com/css?family=Lato:700,300" rel="stylesheet" type="text/css">

   
    <link rel="stylesheet" type="text/css" href="css/normalize.min.css" />

  
    <link rel="stylesheet" type="text/css" href="css/style.lite.min.css" />
</head>
<body id="parent">

 
    <div class="main-container">

        
        <div class="header">
            <div class="clearfix">

              
                <div class="float-left logo">
                    <h1>
                        <a href="#">
                            <img src="img/logo.png" alt="" />
                        </a>
                    </h1>
                </div>

                <!-- Top Menu Bar -->
                <div class="float-right">
                    <ul id="top-nav" class="slimmenu">

                   
                        
                          <li>
                            <a href="Index.jsp" target="pen-iframe">首页</a>
                        </li>
                        
                        <li>
                            <a href="strategylist" >攻略</a>
                        </li>
                        
                         
                         <li>
                            <a href="foodfoundAll" target="">美食</a>
                            <ul>
                            <li>
                               <a href="foodfoundAll" class="filter-label active">美食攻略</a>
                            </li>
                            
                             <li>
                               <a href="addfood.jsp" class="filter-label active">添加美食</a>
                            </li>
                            
                            </ul>
                        </li>
                        
                         <li>
                            <a href="hotelfoundAll" target="">酒店</a>
                             <ul>
                            <li>
                               <a href="hotelfoundAll" class="filter-label active">酒店预览</a>
                            </li>
                            
                            
                             <li>
                               <a href="addhotel.jsp" class="filter-label active">添加酒店</a>
                            </li>
                            </ul>
                        </li>
                       <c:if test="${user!=null }">
                       <li>
                            <a href="#">${user.username}</a>
                            <ul>
                                <li>
                                    <a href="toUpdateUser" class="filter-label active">修改信息</a>
                                </li>
                                <li>
                                    <a href="finduserstrategy" class="filter-label" data-filter=".cat-1">我的动态</a>
                                </li>
                                <c:choose>
                                <c:when test="${user.status==0 }">
                                <li>
                                    <a href="toUpgrade" class="filter-label" data-filter=".cat-2">商家认证</a>
                                </li>
                                </c:when>
                                <c:when test="${user.status==1 }">
                                <li>
                                    <a href="#" class="filter-label" data-filter=".cat-2">等待审核</a>
                                </li>
                                </c:when>
                                <c:when test="${user.status==2 }">
                                <li>
                                    <a href="toUpgrade" class="filter-label" data-filter=".cat-2">已为商家</a>
                                </li>
                                </c:when>
                                </c:choose>
                                <li>
                                    <a href="logout" class="filter-label" data-filter=".cat-3">退出</a>
                                </li>
                            </ul>
                        </li>
                       </c:if>
                       <c:if test="${user==null }">
                        <li>
                            <a href="userlogin.jsp">登陆</a>
                            <ul>
                                <li>
                                    <a href="adminlogin.jsp" class="filter-label active">管理员登陆</a>
                                </li>
                                <li>
                                    <a href="userlogin.jsp" class="filter-label" data-filter=".cat-1">用户登陆</a>
                                </li>
                                <li>
                                    <a href="register.jsp" class="filter-label" data-filter=".cat-2">注册</a>
                                </li>
                                <li>
                                    <a href="#" class="filter-label" data-filter=".cat-3">更多</a>
                                </li>
                            </ul>
                        </li>
                        </c:if>
                        <li>
                            <a href="lylist">社区</a>
                        </li>
                        <li>
                            <a href="#" class="fullscreen tooltip" title="Go Full Screen">
                                <span class="pictogram">&#xe801;</span>
                            </a>
                            <a href="#" class="fullscreenExit tooltip" title="Exit Full Screen">
                                <span class="pictogram">&#xe802;</span>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
</div>

<!-- Scripts -->
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="js/freewall.min.js"></script>
    <script type="text/javascript" src="js/jquery.cycle2.min.js"></script>
    <script type="text/javascript" src="js/jquery.slimmenu.min.js"></script>
    <script type="text/javascript" src="js/custom-script.min.js"></script>
</body>
</html>
